package com.eaoa.uc.permission.form;

import com.eaoa.base.EABaseForm;
import com.eaoa.vo.pub.PubModule;
import com.stony.core.util.CoreUtils;

public class ModuleForm extends EABaseForm{
	
	 private String moduleno;
     private String parentno;
     private String modulenamecn;
     private String modulenameen;
     private String imgname;
     private String urlpath;
     private String moduletype;
     private String orderno;
     
     public PubModule getVO(){
    	 PubModule vo = new PubModule();
    	 vo.setModuleno(CoreUtils.parseLong(this.moduleno));
    	 vo.setParentno(CoreUtils.parseLong(this.parentno));
    	 vo.setModulenamecn(this.modulenamecn);
    	 vo.setModulenameen(this.modulenameen);
    	 vo.setImgname(this.imgname);
    	 vo.setUrlpath(this.urlpath);
    	 vo.setModuletype(CoreUtils.parseLong(this.moduletype));
    	 vo.setOrderno(CoreUtils.parseLong(this.orderno));
     return vo;
     }

     public void setVO(PubModule vo){
    	 this.moduleno = vo.getModuleno().toString();
         this.parentno = vo.getParentno().toString();
         this.modulenamecn = vo.getModulenamecn();
         this.modulenameen =vo.getModulenameen();
         this.imgname = vo.getImgname();
         this.urlpath = vo.getUrlpath();
         this.moduletype = vo.getModuletype().toString();
         this.orderno = vo.getOrderno().toString();
     }
	public String getModuleno() {
		return moduleno;
	}

	public void setModuleno(String moduleno) {
		this.moduleno = moduleno;
	}

	public String getParentno() {
		return parentno;
	}

	public void setParentno(String parentno) {
		this.parentno = parentno;
	}

	public String getModulenamecn() {
		return modulenamecn;
	}

	public void setModulenamecn(String modulenamecn) {
		this.modulenamecn = modulenamecn;
	}

	public String getModulenameen() {
		return modulenameen;
	}

	public void setModulenameen(String modulenameen) {
		this.modulenameen = modulenameen;
	}

	public String getImgname() {
		return imgname;
	}

	public void setImgname(String imgname) {
		this.imgname = imgname;
	}

	public String getUrlpath() {
		return urlpath;
	}

	public void setUrlpath(String urlpath) {
		this.urlpath = urlpath;
	}

	public String getModuletype() {
		return moduletype;
	}

	public void setModuletype(String moduletype) {
		this.moduletype = moduletype;
	}

	public String getOrderno() {
		return orderno;
	}

	public void setOrderno(String orderno) {
		this.orderno = orderno;
	}
     

     
}
